package Boss直聘.立晨远景;

public class 封号时间 {
    public static void main(String[] args) {
        System.out.println("2333");
        int [] input = {1,2,3,100};
        int [] input2 = {80};
//        int x= function2(input,input2);
    }

//    private static int function2(int[] input, int[] input2) {
//
//    }

    private static int function(int[] input,int[] input2) {
        int val=60;
        int i2= 0;
        for (int i=1;i<input.length;i++) {
            if(input[i]<input2[i2]) {
                if (input[i] - input[i - 1] < 60) {
                    val = val + input[i] - input[i - 1];
                } else {
                    val = val + 60;
                }
            }else{

                i2++;
            }

            //判断最后金凤的时间
            if(input[input.length]+60<input2[i2]){

            }
        }
        return val;
    }
}
